package crm.dao.impl;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

import crm.dao.BaseDao;
import crm.dao.SourcesDao;

import crm.entity.Sources;

public class SourcesDaoImpl extends BaseDao<Sources> implements SourcesDao{

	// ID 
	public Sources getSourcesByID(Connection connection, String sql, Class<Sources> clazz, Object... args) throws InstantiationException, IllegalAccessException, NoSuchFieldException, SecurityException, SQLException {
		
		return get(connection, sql,clazz, args);
	}

	
	public List<Sources> getSourcesList(Connection connection, String sql, Class<Sources> clazz, Object... args)
			throws InstantiationException, IllegalAccessException, NoSuchFieldException, SecurityException,
			SQLException {
	
		return getList(connection, sql, clazz, args);
	}

}
